Hit Path Structure
You use a hit path structure to get group information about the path through a model hierarchy to a specific picked object. A hit path structure is defined by theTQ3HitPath
data type.
typedef struct TQ3HitPath { TQ3GroupObject rootGroup; unsigned long depth; TQ3GroupPosition *positions; } TQ3HitPath;
Field Description
rootGroup
- The root group that was picked.
depth
- The number of positions in the path. If the picked object is not in the model hierarchy, this field contains the value 0.
positions
- A pointer to an array of group positions. This array is allocated by QuickDraw 3D.